package com.example.demo.easyexcel.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.*;

/**
 * @Author dbin
 * @Date 2019/12/29
 **/

//@Data
//@Builder
@Setter
@Getter
@ToString
public class User extends BaseRowModel {

    @Excel(name = "姓名" )
    private String name;

    @Excel(name = "密码" )
    private String password;

    @Excel(name="年龄" )/*导出value=@ExcelProperty index=2*/
    private Integer age;
}
